import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import './plugins/element.js'
import vuetify from './plugins/vuetify'

Vue.config.productionTip = false
// 进入路由前
router.beforeEach((to, from, next) => {
  // console.log(from)
  next()
})
// 进入路由后
router.afterEach((to, from, next) => {
  // console.log(to)
})

new Vue({
  vuetify,
  router,
  store,
  render: h => h(App)
}).$mount('#app')
